﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<dynamic>" %>
<script src="../../Scripts/ImageSwitch.js" type="text/javascript"></script>

<%--			<div id="main_top_left_top_news">
            <ul id="news_pictrue_show">
            <%int count = 0;
                if (ViewData["ImgData"] != null)
              {
                  
                  foreach (var item in (System.Collections.Generic.IEnumerable<kysec.Bll.News.newsImgData>)ViewData["ImgData"])
                  {
                      if (item.imgUrl.HasElements) 
                      {%>
                        <li>
                            <a target="_blank" href="<%=kysec.CR.MyUrl.WebData.WEBURL %>/News/NewsInfo?id=<%=kysec.CR.Common.EncodeByBase64.Encode(item.newsId.ToString()) %>&type=1">
                                <img src="<%=kysec.CR.MyUrl.WebData.WEBURL %><%=item.imgUrl.Element("item").Attribute("url").Value%>" alt="" />
                            </a>
                        </li>
                      <% count++;
                      }
                      if (count == 4)
                          break;
                  }
              }
              if(ViewData["ImgData"] == null || count == 0)
              {%>
            <li>
                <a target="_blank" href="#">
                    <img src="<%=Url.Content(kysec.CR.MyUrl.WebData.WEBURL + "/Content/pre/images/4.jpg") %>">
                </a>
            </li>
                  <%} %>     
           </ul>
        <script type="text/javascript">            new dk_slideplayer("#news_pictrue_show", { width: "200px", height: "200px", fontsize: "9px", time: "2000" });</script>
			</div>--%>
			<div id="news_choose">
				<div id="choose">
					<img src="<%=Url.Content(kysec.CR.MyUrl.WebData.WEBURL + "/Content/pre/images/news_choose.gif") %>" width="190" height="45"/>
					<ul><li><a href="<%=kysec.CR.MyUrl.WebData.WEBURL %>/News/News?type=1">公司新闻</a></li><li><a href="<%=kysec.CR.MyUrl.WebData.WEBURL %>/News/News?type=0">行业新闻</a></li></ul>
				</div>
			</div>
